<template>
  <div class="nav">
    <span>{{title}}</span>
  </div>
</template>

<script>
export default {
  name: "NavBar",
  data: function() {
    return {};
  },
  props: ["title"],
  methods: {
  }
};
</script>

<style scoped lang="less">
.nav {
  width: 100%;
  height: 44px; /*no*/
  background-color:lightgrey;
  line-height: 44px; /*no */
  position: fixed;
  left: 0;
  top: 0;
}
span {
  width:30%;
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  font-size: 0.55rem;
  color: white;
}
</style>
